package o;

public class dis {
    private static dis ˋ = null;
    private static final Object ˏ = new Object();
    private awj ˊ = null;

    public static dis ˋ() {
        dis o_dis;
        synchronized (ˏ) {
            if (ˋ == null) {
                ˋ = new dis();
            }
            o_dis = ˋ;
        }
        return o_dis;
    }

    public void ॱ(Class<? extends awj> cls) {
        if (this.ˊ == null) {
            try {
                this.ˊ = (awj) cls.newInstance();
            } catch (InstantiationException e) {
                Logger.e("ProtocolHelperRegister", "IProtocol newInstance faild");
            } catch (IllegalAccessException e2) {
                Logger.e("ProtocolHelperRegister", "IProtocol newInstance faild");
            }
        }
    }

    public awj ॱ() {
        return this.ˊ;
    }
}
